// .txt

beginzonescript;

variables;

short im_hostile = 0;
short last_abil;
short counter = 0;
short set_ter1 = 0;

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

	set_name(100,"Chief Tereza");
	set_name(101,"Matyas");
	set_name(102,"Hermina");


//	set_attack_range(,);

//	add_ability(short which_char_or_group,short which_slot,short which_ability,0);

//	if (is_town_clear(ME))
//		clean_up_town();

	break;

beginstate EXIT_STATE;

break;

beginstate START_STATE;
	//if ((set_ter1 == 0) && (gf(0,0) > 0)) {
	//	set_ter1 = 1;
	//	set_terrain(,,,);
	//	}
		
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(100,"I am chief here.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(100,"We have an iron mine.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(100,"We did what we can.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(100,"Resources are short.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(100,"The forest is changing.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(101,"I'm here on business.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(101,"The Kranas can be improved.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(101,"So much potential.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(101,"The groves are a waste.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(102,"Need some stone blocks.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(102,"These planks are good.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(102,"New shipment coming soon.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(102,"We'll need more room.");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(102,"Business is good.");


	//if (gf(,) < 2) {
	//	inc_flag(,,1);
	//	if (gf(,) == 2)
	//		begin_talk_mode();
	//	}

	//if (((is_combat()) && (tick_difference(last_abil,get_current_tick()) > 0)) || ((is_town()) && (tick_difference(last_abil,get_current_tick()) > 5))) {
	//	last_abil = get_current_tick();
	//	}
break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

//	print_str("");
//	set_terrain_string_range(".",1);
//	set_terrain_string_range("The sign says - .",1);
